package com.zzq.service;

import com.zzq.domain.entity.SmilePhotographerDividendRule;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 小布
 * @since 2023-10-08
 */
public interface SmilePhotographerDividendRuleService extends IService<SmilePhotographerDividendRule> {

    /**
     * 获取点拍分红规则 SHOOT_DIVIDEND
     * @param amount
     * @return
     */
    public SmilePhotographerDividendRule getShootRule(BigDecimal amount);
    /**
     * 获取佣金分红规则 COMMISSION_DIVIDEND
     * @return
     */
    public SmilePhotographerDividendRule getCommissionRule();

}
